package com.feifan.senate.web.action;

import org.apache.log4j.Logger;

import com.opensymphony.xwork2.ActionSupport;

public class HelloWorldAction extends ActionSupport {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	static final Logger logger = Logger.getLogger(HelloWorldAction.class);
	
	
	private String message;
	private String userName;
	
	
	
	
	public String execute() {
		setMessage("Hello");
		return SUCCESS;
	}
	
	public String testStruts(){
		System.out.print(1);
		return SUCCESS;
	}
	
	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}	
}
